package com.jsbs.iam.user.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @BelongsProject: iam
 * @BelongsPackage: com.jsbs.iam.user.vo
 * @Author: WangJiYuan
 * @Description: 菜单树vo
 * @Version: 2023-01-05  09:24
 */
@Data
@ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MenuThreeVo {
    //编码
    private String code;
    //名称
    private String name;
    //父级编码
    private String parentCode;
    //菜单层级
    private Integer menuLevel;
    // 排序号  index 名称会报错
    private Integer menuIndex;

    //子菜单数据集合
    private List<MenuThreeVo> childrenMenus;
}
